//
//  LSSaveZSDManager.m
//  听说弱点强化训练
//
//  Created by 盛超 on 2018/9/5.
//  Copyright © 2018年 盛超. All rights reserved.
//

#import "LSSaveZSDManager.h"

@implementation LSSaveZSDManager

-(void)requestSaveWithCompltionSuccess:(void (^)(NSString *))success failuer:(void (^)(NSString *))failure {
    self.requestUrl = @"api/ZXYYTS/W_ZXYYTS_SaveUnfamiliarVocabulary";
    [self requestPostMethodWithSuccess:^(id responseObject) {
        
        NSDictionary *dict = [NSJSONSerialization JSONObjectWithData:responseObject options:NSJSONReadingMutableLeaves error:nil];
        NSLog(@"save_success:%@",dict);
       // NSLog(@"save_success:%@",responseObject);

        success(@"成功");
        
    } Failure:^(NSError *error) {
        
        NSLog(@"%@",error.localizedDescription);
        
    }];
}

@end
